package com.example.demo.entity.user;

import com.fasterxml.jackson.annotation.JsonFormat;


import java.time.LocalDateTime;

public class Admin {
    private Integer admin_id;
    private String username;
    private String password;
    private String phone;
    private String card_id;
    private String gender;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime update_time;
    private Integer state;
    private Long unfreezing_time;//解除冻结的时间

    public Integer getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(Integer admin_id) {
        this.admin_id = admin_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCard_id() {
        return card_id;
    }

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public LocalDateTime getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(LocalDateTime update_time) {
        this.update_time = update_time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getUnfreezing_time() {
        return unfreezing_time;
    }

    public void setUnfreezing_time(Long unfreezing_time) {
        this.unfreezing_time = unfreezing_time;
    }
}
